#include "moeutil/db/Operation.h"


namespace moeutil
{
namespace mysql
{


void BlockOperation::processCompleteEvent( const RecorderPtr& /*rec*/, const ErrorCode& /*errCode*/ )
{

}

bool BlockOperation::predo(RecorderPtr& rec)
{
	boost::mutex::scoped_lock locker(mMutex);
	mRecorder = rec;
	mCondition.notify_one();
	return true;
}


} //namespace mysql
} //namespace moeutil